home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Interfaces / CIncludes / Finder.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-11  |  2.2 KB  |  88 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Finder.h
  3.  
  4.      Copyright:    © 1984-1994 by Apple Computer, Inc.
  5.                  All rights reserved.
  6.  
  7.      Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. */
  16.  
  17. #ifndef __FINDER__
  18. #define __FINDER__
  19.  
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. #if GENERATINGPOWERPC
  26. #pragma options align=mac68k
  27. #endif
  28.  
  29. #ifdef __CFM68K__
  30. #pragma lib_export on
  31. #endif
  32.  
  33.  
  34. enum {
  35. /* Make only the following consts avaiable to resource files that include this file */
  36.     kCustomIconResource            = -16455,                        /* Custom icon family resource ID */
  37.     kContainerFolderAliasType    = 'fdrp',                        /* type for folder aliases */
  38.     kContainerTrashAliasType    = 'trsh',                        /* type for trash folder aliases */
  39.     kContainerHardDiskAliasType    = 'hdsk',                        /* type for hard disk aliases */
  40.     kContainerFloppyAliasType    = 'flpy',                        /* type for floppy aliases */
  41.     kContainerServerAliasType    = 'srvr',                        /* type for server aliases */
  42.     kApplicationAliasType        = 'adrp',                        /* type for application aliases */
  43.     kContainerAliasType            = 'drop',                        /* type for all other containers */
  44. /* types for Special folder aliases */
  45.     kSystemFolderAliasType        = 'fasy',
  46.     kAppleMenuFolderAliasType    = 'faam',
  47.     kStartupFolderAliasType        = 'fast',
  48.     kPrintMonitorDocsFolderAliasType = 'fapn',
  49.     kPreferencesFolderAliasType    = 'fapf',
  50.     kControlPanelFolderAliasType = 'fact',
  51.     kExtensionFolderAliasType    = 'faex',
  52. /* types for AppleShare folder aliases */
  53.     kExportedFolderAliasType    = 'faet',
  54.     kDropFolderAliasType        = 'fadr',
  55.     kSharedFolderAliasType        = 'fash',
  56.     kMountedFolderAliasType        = 'famn'
  57. };
  58.  
  59. enum {
  60. /* Finder Flags */
  61.     kIsOnDesk                    = 0x1,
  62.     kColor                        = 0xE,
  63.     kIsShared                    = 0x40,
  64.     kHasBeenInited                = 0x100,
  65.     kHasCustomIcon                = 0x400,
  66.     kIsStationery                = 0x800,
  67.     kIsStationary                = 0x800,
  68.     kNameLocked                    = 0x1000,
  69.     kHasBundle                    = 0x2000,
  70.     kIsInvisible                = 0x4000,
  71.     kIsAlias                    = 0x8000
  72. };
  73.  
  74.  
  75. #ifdef __CFM68K__
  76. #pragma lib_export off
  77. #endif
  78.  
  79. #if GENERATINGPOWERPC
  80. #pragma options align=reset
  81. #endif
  82.  
  83. #ifdef __cplusplus
  84. }
  85. #endif
  86.  
  87. #endif /* __FINDER__ */
  88.